<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
 
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login</title>
    </head>
    <body>
       <form method="post" action="<c:url value='j_spring_security_check'/>"
                    method="POST" ">
     <center>
         <div class="container">
         <div class="login">
          <h1>Login</h1>
            <p><input name='j_username'/></p>
            <p><input type="password" name='j_password' /></p>
            <p><input type="submit" value="login"/></p>
          </div>
          
          
       </div>
        
   </center>
</form>
    </body>
</html>